<Module>
    <ModulePrefs title="subscribeToEvents Test" height="200" author="Google"
                 author_email="calendar-gadget-questions@google.com">
        <Optional feature="google.calendar-0.5.read"/>
    </ModulePrefs>
    <Content type="html">
        <![CDATA[
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
        <html>
        <body>
        <div id="out">No event</div>
        <script> function subscribeEventsCallback(e) {
            var html = 'No event';
            if (e) {
                html = gadgets.json.stringify(e);
            }
            document.getElementById('out').innerHTML = gadgets.util.escapeString(html);
        } // The gadget containers request that we do NOT run any JS inline. // Instead, register a callback handler. gadgets.util.registerOnLoadHandler(function() { google.calendar.read.subscribeToEvents(subscribeEventsCallback); }); </script>
        </body>
        </html>
        ]]>
    </Content>
</Module>

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Module>
    <ModulePrefs title="subscribeToDataChange Test" height="70" author="Google"
                 author_email="calendar-gadget-questions@google.com">
        <Require feature="google.calendar-0.5"/>
    </ModulePrefs>
    <Content type="html">
        <![CDATA[
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
        <html>
        <body>
        <script> function dataChangeCallback() {
            alert('New Data may be available');
        } // The gadget containers request that we do NOT run any JS inline. // Instead, register a callback handler. gadgets.util.registerOnLoadHandler(function() { google.calendar.subscribeToDataChange(dataChangeCallback); }); </script>
        </body>
        </html>
        ]]>
    </Content>
</Module>